.server-info {
  background: transparent;
  width: 50%;
  height: 100%;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 4px;    /* 下边距 */
  display: flex;
  justify-content: flex-end;
}
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px;
  border-radius: 20px;
  font-size: 14px;    /* 字号 */
  font-weight: 600;   /* 字体粗细 */
}
.connection-status.connected {
  background: #e8f5e8;
  color: #2e7d32;
}
.connection-status.disconnected {
  background: #ffebee;
  color: #c62828;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.content {
    padding: 2px;
}
.container {
width: 90%;
max-width: 1000px;
background: rgba(255, 255, 255, 0.95);
border-radius: 15px;
box-shadow: 0 10px 5px rgba(0, 0, 0, 0.2);
overflow: hidden;
padding: 5px;
}

.controls {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
    flex-wrap: wrap;
    padding-top: 6px;
}
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #867d1d 0%, #764ba2 100%);
    color: white;

}

.btn-success {
    background: linear-gradient(135deg, #17537b 0%, #a8e6cf 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #7e1e21 0%, #fecfef 100%);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.status {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 15px;
}



.settings-panel {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 4px;
  border: 1px solid #dee2e6;

  display: inline-block;
  width: 40%;
  height: 100%;
  margin-left: auto; 
  margin-right: 0;  
}
.settings-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #495057;
}
.setting-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.setting-label {
    flex: 1;
    font-weight: 500;
}
.setting-input {
    flex: 2;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}
.top-right {
  right: 4px; /* 靠右 */
}

.folder-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.folder-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.folder-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.folder-item.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.folder-icon {
    font-size: 24px;
    margin-right: 15px;
}

.folder-info {
    flex: 1;
}

.folder-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.folder-size {
    font-size: 14px;
    opacity: 0.7;
}


